package basics;

import java.util.Iterator;

public class PureDenseVector extends Vector {

	public PureDenseVector(int n) {
		_vector = new double[n];
	}

	public PureDenseVector(Double[] d) {
		_vector = utils.Converter.toDouble(d);
	}

	public PureDenseVector(double[] d) {
		_vector = d.clone();
	}

	public int length() {
		return _vector.length;
	}

	public double get(int index) {
		return _vector[index];
	}

	public void set(int index, double v) {
		_vector[index] = v;
	}

	private double[] _vector;

	public double[] values() {
		return _vector;
	}

	@Override
	protected Vector newInstance(int n) {
		return new PureDenseVector(n);
	}

	@Override
	public VectorMatrix transpose() {
		return null;
	}

	@Override
	public double get(int... i) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void set(double v, int... i) {
		// TODO Auto-generated method stub

	}

	@Override
	public VectorMatrix divide(VectorMatrix powCopy) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Matrix times(VectorMatrix m) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Matrix timesEqual(VectorMatrix m) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public double sumAllElements() {
		return 0;
	}

	@Override
	public VectorMatrix divideEqual(double d) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int length(int d) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int dimesnsion() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Iterator<Double> iterator() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public double max() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Vector getColumnVector() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Vector getRowVector() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public double norm2() {
		// TODO Auto-generated method stub
		return 0;
	}
}
